repo/commit: Support group-writable files for bare-user-only
authorColin Walters <walters@verbum.org>
Wed, 7 Jun 2017 17:18:04 +0000 (13:18 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Thu, 8 Jun 2017 06:58:54 +0000 (06:58 +0000)
commitc81252c1e071bf3c536a8dba5d2eb5979c87653d
tree1f10ddc56e6aae22bd723cc4a532ac2862fb5344
parent81e1f7761fcab2e0e99f86e9c7751186f0f6731c
repo/commit: Support group-writable files for bare-user-only

These exist in the wild for flatpak, and aren't really a problem. The canonical
permissions are still either `0755` or `0644`, we just support the additional
writable bit for the group (i.e. extend the set to include `0775` and `0664`)
now to avoid breaking some flatpak content.

Closes: #913
Approved by: alexlarsson
src/libostree/ostree-repo-commit.c
tests/test-basic-user-only.sh